package com.devilvan.betrice.aiqicha.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.devilvan.betrice.aiqicha.deserialize.ParseHyphenDeserializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author Evad.Wu
* @Description 爱企查-对外投资信息 值对象
* @date 2022-09-23
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "爱企查-对外投资信息 值对象")
public class AiqichaInvestRecordVo {
    @Schema(description = "企业系统ID")
    @JSONField(deserialize = false)
    private Long pid;
    @Schema(description = "被投资企业")
    @JSONField(alternateNames = {"entName"})
    private String entName;
    @Schema(description = "被投资企业法定代表人/负责人ID")
    @JSONField(alternateNames = {"personId"})
    private String personId;
    @Schema(description = "被投资企业法定代表人/负责人")
    @JSONField(alternateNames = {"legalPerson"})
    private String legalPerson;
    @Schema(description = "成立日期")
    @JSONField(alternateNames = {"startDate"}, deserializeUsing = ParseHyphenDeserializer.class)
    private Date startDate;
    @Schema(description = "投资占比")
    @JSONField(alternateNames = {"regRate"})
    private String regRate;
    @Schema(description = "认缴金额")
    @JSONField(alternateNames = {"regCapital"})
    private String regCapital;
    @Schema(description = "状态")
    @JSONField(alternateNames = {"openStatus"})
    private String openStatus;
}
